/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gla.centralhotel.dao.interfaces;

import gla.centralhotel.model.Zipcode;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Rivo
 */
@Local
public interface IZipcodeDAO {

    Zipcode create(Zipcode zipcode);

    Zipcode edit(Zipcode zipcode);

    void remove(Zipcode zipcode);

    Zipcode find(Object id);

    List<Zipcode> findAll();

    Zipcode findZipcodeByZipcodeAndCity(String zipcode, String city);

}
